'use strict';

const Controller = require('egg').Controller;


class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    var data = await ctx.service.user.find();
    console.log(data);
    await ctx.render("index.html")
  }
}

module.exports = HomeController;
